<table width="100%">
  <tbody>
    <tr>
      <td width="8"><img src="/assets/images/statistic-analysis/bg24.jpg" width="8" height="107"></td>
      <td height="107" background="/assets/images/statistic-analysis/bg26.jpg">
        <!-- <form action="tjfx.asp?act=go" method="post"> -->
          <table class="form-table-on">
            <tbody>
              <tr>
                <td class="form-table-td-one" ><img src="/assets/images/statistic-analysis/bg48.jpg"></td>
                <td class="form-table-td-two">
                  <table >
                    <tbody>
                      <tr>
                        <td class="link_black time-wrap"><strong>开始日期：</strong></td>
                        <td class="">
                            <nv-date-picker class="patient_date time-val" [(ngModel)]="searchParams['start_date']" [nvAllowClear]=false 
                            nvPlaceHolder="" nvShowTime></nv-date-picker>
                        <td class="link_black time-wrap"><strong>结束日期：</strong></td>
                        <td class="">
                          <nv-date-picker class="patient_date time-val" [nvDisabledDate]="disabledDate" [(ngModel)]="searchParams['end_date']" [nvAllowClear]=false 
                            nvPlaceHolder="" nvShowTime></nv-date-picker>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
                <td width="20%">&nbsp;</td>
              </tr>
              <tr>
                <td colspan="3">
                  <table width="100%">
                    <tbody>
                      <tr>
                        <td width="7" height="58"><img src="/assets/images/statistic-analysis/bg29.jpg" width="7"
                            height="58"></td>
                        <td background="/assets/images/statistic-analysis/bg31.jpg" class="link_black" align="center">
                          <table width="95%">
                            <tbody>
                              <tr>
                                <td><strong>科室：</strong></td>
                                <td>
                                  <nv-select style="width: 120px;" [(ngModel)]="searchParams['department']" (ngModelChange)="getYisheng()" nvAllowClear>
                                    <nv-option nvValue="全部" nvLabel="全部"></nv-option>
                                    <nv-option *ngFor="let option of keshiOptions" [nvLabel]="option" [nvValue]="option"></nv-option>
                                  </nv-select>
                                </td>
                                <td><strong>医生：</strong></td>
                                <td>
                                  <nv-select style="width: 120px;" [(ngModel)]="searchParams['doctor']" nvAllowClear>
                                    <nv-option nvValue="全部" nvLabel="全部"></nv-option>
                                    <nv-option *ngFor="let option of yishengOptions" [nvLabel]="option" [nvValue]="option"></nv-option>
                                  </nv-select>
                               </td>
                                <td><strong>处方类型：</strong></td>
                                <td>
                                  <nv-select style="width: 120px;" [(ngModel)]="searchParams['type']" nvAllowClear>
                                    <nv-option nvValue="全部" nvLabel="全部"></nv-option>
                                    <nv-option nvValue="饮片" nvLabel="饮片"></nv-option>
                                    <nv-option nvValue="中成药" nvLabel="中成药"></nv-option>
                                    <nv-option nvValue="协定方" nvLabel="协定方"></nv-option>
                                    <nv-option nvValue="经典方" nvLabel="经典方"></nv-option>
                                  </nv-select>
                                </td>
                                <td><input type="image" src="/assets/images/statistic-analysis/bg49.jpg" name="button3" (click)="onSubmit()"
                                    id="button3" value="提交"></td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        <td width="7" height="58"><img src="/assets/images/statistic-analysis/bg30.jpg" width="7"
                            height="58"></td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        <!-- </form> -->
      </td>
      <td width="8"><img src="/assets/images/statistic-analysis/bg25.jpg" width="8" height="107"></td>
    </tr>
  </tbody>
</table>
<!-- <p class="div-c" class="nodata"> 请填写分析条件，然后进行分析！</p> -->
<table width="100%">
  <tbody>
    <tr>
      <td class="div-c">
        <p style="font-size:16px"><strong>数据挖掘分析统计报告</strong></p>
        <table width="95%">
          <tbody>
            <tr>
              <td height="30" class="link_black"><strong>科室：</strong></td>
              <td class="link_black">{{anySearchRes.department}}&nbsp;</td>
              <td class="link_black"><strong>医生：</strong></td>
              <td class="link_black">{{anySearchRes.doctor}}&nbsp;</td>
              <td class="link_black"><strong>处方类型：</strong></td>
              <td class="link_black">{{anySearchRes.type}}&nbsp;</td>
              <td class="link_black"><strong>开始日期：</strong></td>
              <td class="link_black">{{datePipe.transform(anySearchRes.start_date, 'yyyy-MM-dd HH:mm:ss')}}&nbsp;</td>
              <td class="link_black"><strong>结束日期：</strong></td>
              <td class="link_black">{{datePipe.transform(anySearchRes.end_date, 'yyyy-MM-dd HH:mm:ss')}}&nbsp;</td>
            </tr>
          </tbody>
        </table>
        <p *ngIf="resultsObj" class="link_black curr-p">本次分析共统计患者<strong class="link_red">{{resultsObj['患者数']}}</strong>人，处方<strong class="link_red">{{resultsObj['处方数']}}</strong>张。基本情况如下：</p>
      
        <table class="results-wwap-table">
          <tbody>
            <tr class="thead">
              <td width="50" class="link_black">
                <div class="div-c"><strong>序号</strong></div>
              </td>
              <td width="120" class="link_black" *ngFor="let item of gongxiaoTableData['head']">
                <div class="div-c"><strong>{{item}}</strong></div>
              </td>
            </tr>
            <tr *ngFor="let item of gongxiaoTableData['body']; index as i;">
              <td width="50" class="link_black">
                <div class="div-c">{{i + 1}}</div>
              </td>
              <td *ngFor="let val of item; index as j" width="120" class="link_black">
                <div  class="div-c" [class.link_red]="j == item.length-1">{{val}}</div>
              </td>
            </tr>
           
          </tbody>
        </table>
        <p class="div-c cha" *ngIf="!moreGongxiaoTableData">
          <a href="javascript:;" (click)="getGongxiaofenxi()" class="link_black">查看更多</a>
        </p>
        <p class="div-c cha" *ngIf="moreGongxiaoTableData">
          <a href="javascript:;" (click)="getGongxiaofenxi()" class="link_black">收起更多</a>
        </p>
        <table width="95%">
          <tbody>
            <tr>
              <td class="link_yellow1"><strong>说明：</strong>输出的内容主要是通过最小支持度和最小置信度筛选得到的频繁项集的药物组合，以及他们计算得到的支持度，置信度，以及提升度的值。通过表格的方式展示。</td>
            </tr>
          </tbody>
        </table>
        <p>&nbsp;</p>
      </td>
    </tr>
  </tbody>
</table>
<p>&nbsp;</p>
<table width="100%">
  <tbody>
    <tr>
      <td height="9" background="/assets/images/statistic-analysis/bg35.jpg"></td>
    </tr>
    <tr>
      <td height="40" class="div-c"><span class="link_black">上海市中医文献馆版权所有</span></td>
    </tr>
  </tbody>
</table>
<p>&nbsp;</p>
